﻿@namespace BootstrapBlazor.Components
@inherits DisplayBase<string>

@if (IsInnerLabel)
{
    <div @attributes="@AdditionalAttributes" class="@ClassString" required="@Required">
        <span>@DisplayText</span>
    </div>
}
else
{
    <label @attributes="@AdditionalAttributes" class="@ClassString" required="@Required">@DisplayText</label>
}
